<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
SeaGlassLookAndFeel (Sea Glass Look and Feel for Swing 0.2 API)
</TITLE>


<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="SeaGlassLookAndFeel (Sea Glass Look and Feel for Swing 0.2 API)";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SeaGlassLookAndFeel.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../com/seaglasslookandfeel/SeaGlassContext.html" title="class in com.seaglasslookandfeel"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../com/seaglasslookandfeel/SeaGlassRegion.html" title="class in com.seaglasslookandfeel"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html?com/seaglasslookandfeel/SeaGlassLookAndFeel.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="SeaGlassLookAndFeel.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.seaglasslookandfeel</FONT>
<BR>
Class SeaGlassLookAndFeel</H2>
<PRE>
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
  <IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true" title="class or interface in javax.swing">javax.swing.LookAndFeel</A>
      <IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/basic/BasicLookAndFeel.html?is-external=true" title="class or interface in javax.swing.plaf.basic">javax.swing.plaf.basic.BasicLookAndFeel</A>
          <IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true" title="class or interface in javax.swing.plaf.synth">javax.swing.plaf.synth.SynthLookAndFeel</A>
              <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>com.seaglasslookandfeel.SeaGlassLookAndFeel</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>SeaGlassLookAndFeel</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthLookAndFeel</A></DL>
</PRE>

<P>
This is the main Sea Glass Look and Feel class.

 <p>At the moment, it customizes Nimbus, and includes some code from
 NimbusLookAndFeel and SynthLookAndFeel where those methods were package
 local.</p>
<P>

<P>
<DL>
<DT><B>Author:</B></DT>
  <DD>Kathryn Huxtable, Kenneth Orr</DD>
<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true" title="class or interface in javax.swing.plaf.synth"><CODE>SynthLookAndFeel</CODE></A>, 
<A HREF="../../serialized-form.html#com.seaglasslookandfeel.SeaGlassLookAndFeel">Serialized Form</A></DL>
<HR>

<P>
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Insets.html?is-external=true" title="class or interface in java.awt">Insets</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#EMPTY_UIRESOURCE_INSETS">EMPTY_UIRESOURCE_INSETS</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used in a handful of places where we need an empty Insets.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/ComponentUI.html?is-external=true" title="class or interface in javax.swing.plaf">ComponentUI</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#selectedUI">selectedUI</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Refer to setSelectedUI</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#selectedUIState">selectedUIState</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Refer to setSelectedUI</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#SeaGlassLookAndFeel()">SeaGlassLookAndFeel</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new Sea Glass Look and Feel instance.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#getComponentState(java.awt.Component)">getComponentState</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Component.html?is-external=true" title="class or interface in java.awt">Component</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the component state for the specified component.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/UIDefaults.html?is-external=true" title="class or interface in javax.swing">UIDefaults</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#getDefaults()">getDefaults</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the defaults for SeaGlassLookAndFeel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#getDerivedColor(java.awt.Color, java.awt.Color, float)">getDerivedColor</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;color1,
                <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;color2,
                float&nbsp;midPoint)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Decodes and returns a color, which is derived from a offset between two
 other colors.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#getDerivedColor(java.awt.Color, java.awt.Color, float, boolean)">getDerivedColor</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;color1,
                <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;color2,
                float&nbsp;midPoint,
                boolean&nbsp;uiResource)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Decodes and returns a color, which is derived from an offset between two
 other colors.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;com.seaglasslookandfeel.DerivedColor</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#getDerivedColor(java.lang.String, float, float, float, int, boolean)">getDerivedColor</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;parentUin,
                float&nbsp;hOffset,
                float&nbsp;sOffset,
                float&nbsp;bOffset,
                int&nbsp;aOffset,
                boolean&nbsp;uiResource)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a derived color, derived colors are shared instances and will be
 updated when its parent UIDefault color changes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#getDescription()">getDescription</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a textual description of this look and feel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#getID()">getID</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a string that identifies this look and feel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#getName()">getName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a short string that identifies this look and feel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Insets.html?is-external=true" title="class or interface in java.awt">Insets</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#getPaintingInsets(javax.swing.plaf.synth.SynthContext, java.awt.Insets)">getPaintingInsets</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthContext.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthContext</A>&nbsp;state,
                  <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Insets.html?is-external=true" title="class or interface in java.awt">Insets</A>&nbsp;insets)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A convenience method to return where the foreground should be painted for
 the Component identified by the passed in AbstractSynthContext.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#getSupportsWindowDecorations()">getSupportsWindowDecorations</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <code>true</code> if the <code>LookAndFeel</code> returned
 <code>RootPaneUI</code> instances support providing <code>Window</code> decorations
 in a <code>JRootPane</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#getUIOfType(javax.swing.plaf.ComponentUI, java.lang.Class)">getUIOfType</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/ComponentUI.html?is-external=true" title="class or interface in javax.swing.plaf">ComponentUI</A>&nbsp;ui,
            <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;klass)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the ui that is of type <code>klass</code>, or null if one can not
 be found.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#initialize()">initialize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called by UIManager when this look and feel is installed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Font.html?is-external=true" title="class or interface in java.awt">Font</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#initializeDefaultFont()">initializeDefaultFont</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize the default font.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#isLeftToRight(java.awt.Component)">isLeftToRight</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Component.html?is-external=true" title="class or interface in java.awt">Component</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience function for determining ComponentOrientation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#isNativeLookAndFeel()">isNativeLookAndFeel</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns false, SeaGlassLookAndFeel is not a native look and feel.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#isSupportedLookAndFeel()">isSupportedLookAndFeel</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true, SeaGlassLookAndFeel is always supported.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#register(javax.swing.plaf.synth.Region, java.lang.String)">register</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/Region.html?is-external=true" title="class or interface in javax.swing.plaf.synth">Region</A>&nbsp;region,
         <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;prefix)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Registers the given region and prefix.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#resetSelectedUI()">resetSelectedUI</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears out the selected UI that was last set in setSelectedUI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#resolveToolbarConstraint(javax.swing.JToolBar)">resolveToolbarConstraint</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/JToolBar.html?is-external=true" title="class or interface in javax.swing">JToolBar</A>&nbsp;toolbar)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Package private method which returns either BorderLayout.NORTH,
 BorderLayout.SOUTH, BorderLayout.EAST, or BorderLayout.WEST depending on
 the location of the toolbar in its parent.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#setSelectedUI(javax.swing.plaf.ComponentUI, boolean, boolean, boolean, boolean)">setSelectedUI</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/ComponentUI.html?is-external=true" title="class or interface in javax.swing.plaf">ComponentUI</A>&nbsp;uix,
              boolean&nbsp;selected,
              boolean&nbsp;focused,
              boolean&nbsp;enabled,
              boolean&nbsp;rollover)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used by the renderers.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#shouldUpdateStyle(java.beans.PropertyChangeEvent)">shouldUpdateStyle</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/beans/PropertyChangeEvent.html?is-external=true" title="class or interface in java.beans">PropertyChangeEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the Style should be updated in response to the specified
 PropertyChangeEvent.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#shouldUpdateStyleOnAncestorChanged()">shouldUpdateStyleOnAncestorChanged</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#uninitialize()">uninitialize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called by UIManager when this look and feel is uninstalled.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#update(javax.swing.plaf.synth.SynthContext, java.awt.Graphics)">update</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthContext.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthContext</A>&nbsp;state,
       <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Graphics.html?is-external=true" title="class or interface in java.awt">Graphics</A>&nbsp;g)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A convenience method that handles painting of the background.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthStyle.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthStyle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#updateSeaglassStyle(javax.swing.plaf.synth.SynthContext, com.seaglasslookandfeel.ui.SeaglassUI)">updateSeaglassStyle</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthContext.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthContext</A>&nbsp;context,
                    <A HREF="../../com/seaglasslookandfeel/ui/SeaglassUI.html" title="interface in com.seaglasslookandfeel.ui">SeaglassUI</A>&nbsp;ui)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A convience method that will reset the Style of StyleContext if
 necessary.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthStyle.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthStyle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#updateStyle(com.seaglasslookandfeel.SeaGlassContext, com.seaglasslookandfeel.ui.SeaglassUI)">updateStyle</A></B>(<A HREF="../../com/seaglasslookandfeel/SeaGlassContext.html" title="class in com.seaglasslookandfeel">SeaGlassContext</A>&nbsp;context,
            <A HREF="../../com/seaglasslookandfeel/ui/SeaglassUI.html" title="interface in com.seaglasslookandfeel.ui">SeaglassUI</A>&nbsp;ui)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A convience method that will reset the Style of StyleContext if
 necessary.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/seaglasslookandfeel/SeaGlassLookAndFeel.html#updateSubregion(javax.swing.plaf.synth.SynthContext, java.awt.Graphics, java.awt.Rectangle)">updateSubregion</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthContext.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthContext</A>&nbsp;state,
                <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Graphics.html?is-external=true" title="class or interface in java.awt">Graphics</A>&nbsp;g,
                <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>&nbsp;bounds)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A convenience method that handles painting of the background for
 subregions.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.plaf.synth.SynthLookAndFeel"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class javax.swing.plaf.synth.<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthLookAndFeel</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true#createUI(javax.swing.JComponent)" title="class or interface in javax.swing.plaf.synth">createUI</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true#getRegion(javax.swing.JComponent)" title="class or interface in javax.swing.plaf.synth">getRegion</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true#getStyle(javax.swing.JComponent, javax.swing.plaf.synth.Region)" title="class or interface in javax.swing.plaf.synth">getStyle</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true#getStyleFactory()" title="class or interface in javax.swing.plaf.synth">getStyleFactory</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true#load(java.io.InputStream, java.lang.Class)" title="class or interface in javax.swing.plaf.synth">load</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true#load(java.net.URL)" title="class or interface in javax.swing.plaf.synth">load</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true#setStyleFactory(javax.swing.plaf.synth.SynthStyleFactory)" title="class or interface in javax.swing.plaf.synth">setStyleFactory</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true#updateStyles(java.awt.Component)" title="class or interface in javax.swing.plaf.synth">updateStyles</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.plaf.basic.BasicLookAndFeel"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class javax.swing.plaf.basic.<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/basic/BasicLookAndFeel.html?is-external=true" title="class or interface in javax.swing.plaf.basic">BasicLookAndFeel</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/basic/BasicLookAndFeel.html?is-external=true#createAudioAction(java.lang.Object)" title="class or interface in javax.swing.plaf.basic">createAudioAction</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/basic/BasicLookAndFeel.html?is-external=true#getAudioActionMap()" title="class or interface in javax.swing.plaf.basic">getAudioActionMap</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/basic/BasicLookAndFeel.html?is-external=true#initClassDefaults(javax.swing.UIDefaults)" title="class or interface in javax.swing.plaf.basic">initClassDefaults</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/basic/BasicLookAndFeel.html?is-external=true#initComponentDefaults(javax.swing.UIDefaults)" title="class or interface in javax.swing.plaf.basic">initComponentDefaults</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/basic/BasicLookAndFeel.html?is-external=true#initSystemColorDefaults(javax.swing.UIDefaults)" title="class or interface in javax.swing.plaf.basic">initSystemColorDefaults</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/basic/BasicLookAndFeel.html?is-external=true#loadSystemColors(javax.swing.UIDefaults, java.lang.String[], boolean)" title="class or interface in javax.swing.plaf.basic">loadSystemColors</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/basic/BasicLookAndFeel.html?is-external=true#playSound(javax.swing.Action)" title="class or interface in javax.swing.plaf.basic">playSound</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.LookAndFeel"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class javax.swing.<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true" title="class or interface in javax.swing">LookAndFeel</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true#getDesktopPropertyValue(java.lang.String, java.lang.Object)" title="class or interface in javax.swing">getDesktopPropertyValue</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true#getDisabledIcon(javax.swing.JComponent, javax.swing.Icon)" title="class or interface in javax.swing">getDisabledIcon</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true#getDisabledSelectedIcon(javax.swing.JComponent, javax.swing.Icon)" title="class or interface in javax.swing">getDisabledSelectedIcon</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true#getLayoutStyle()" title="class or interface in javax.swing">getLayoutStyle</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true#installBorder(javax.swing.JComponent, java.lang.String)" title="class or interface in javax.swing">installBorder</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true#installColors(javax.swing.JComponent, java.lang.String, java.lang.String)" title="class or interface in javax.swing">installColors</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true#installColorsAndFont(javax.swing.JComponent, java.lang.String, java.lang.String, java.lang.String)" title="class or interface in javax.swing">installColorsAndFont</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true#installProperty(javax.swing.JComponent, java.lang.String, java.lang.Object)" title="class or interface in javax.swing">installProperty</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true#loadKeyBindings(javax.swing.InputMap, java.lang.Object[])" title="class or interface in javax.swing">loadKeyBindings</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true#makeComponentInputMap(javax.swing.JComponent, java.lang.Object[])" title="class or interface in javax.swing">makeComponentInputMap</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true#makeIcon(java.lang.Class, java.lang.String)" title="class or interface in javax.swing">makeIcon</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true#makeInputMap(java.lang.Object[])" title="class or interface in javax.swing">makeInputMap</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true#makeKeyBindings(java.lang.Object[])" title="class or interface in javax.swing">makeKeyBindings</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true#provideErrorFeedback(java.awt.Component)" title="class or interface in javax.swing">provideErrorFeedback</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true#toString()" title="class or interface in javax.swing">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true#uninstallBorder(javax.swing.JComponent)" title="class or interface in javax.swing">uninstallBorder</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="EMPTY_UIRESOURCE_INSETS"><!-- --></A><H3>
EMPTY_UIRESOURCE_INSETS</H3>
<PRE>
public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Insets.html?is-external=true" title="class or interface in java.awt">Insets</A> <B>EMPTY_UIRESOURCE_INSETS</B></PRE>
<DL>
<DD>Used in a handful of places where we need an empty Insets.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="selectedUI"><!-- --></A><H3>
selectedUI</H3>
<PRE>
public static <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/ComponentUI.html?is-external=true" title="class or interface in javax.swing.plaf">ComponentUI</A> <B>selectedUI</B></PRE>
<DL>
<DD>Refer to setSelectedUI
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="selectedUIState"><!-- --></A><H3>
selectedUIState</H3>
<PRE>
public static int <B>selectedUIState</B></PRE>
<DL>
<DD>Refer to setSelectedUI
<P>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="SeaGlassLookAndFeel()"><!-- --></A><H3>
SeaGlassLookAndFeel</H3>
<PRE>
public <B>SeaGlassLookAndFeel</B>()</PRE>
<DL>
<DD>Create a new Sea Glass Look and Feel instance.
<P>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="initialize()"><!-- --></A><H3>
initialize</H3>
<PRE>
public void <B>initialize</B>()</PRE>
<DL>
<DD>Called by UIManager when this look and feel is installed.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true#initialize()" title="class or interface in javax.swing.plaf.synth">initialize</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthLookAndFeel</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="uninitialize()"><!-- --></A><H3>
uninitialize</H3>
<PRE>
public void <B>uninitialize</B>()</PRE>
<DL>
<DD>Called by UIManager when this look and feel is uninstalled.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true#uninitialize()" title="class or interface in javax.swing.plaf.synth">uninitialize</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthLookAndFeel</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDefaults()"><!-- --></A><H3>
getDefaults</H3>
<PRE>
public <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/UIDefaults.html?is-external=true" title="class or interface in javax.swing">UIDefaults</A> <B>getDefaults</B>()</PRE>
<DL>
<DD>Returns the defaults for SeaGlassLookAndFeel.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true#getDefaults()" title="class or interface in javax.swing.plaf.synth">getDefaults</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthLookAndFeel</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the UI defaults for SeaGlassLookAndFeel.</DL>
</DD>
</DL>
<HR>

<A NAME="updateSeaglassStyle(javax.swing.plaf.synth.SynthContext, com.seaglasslookandfeel.ui.SeaglassUI)"><!-- --></A><H3>
updateSeaglassStyle</H3>
<PRE>
public static <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthStyle.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthStyle</A> <B>updateSeaglassStyle</B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthContext.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthContext</A>&nbsp;context,
                                             <A HREF="../../com/seaglasslookandfeel/ui/SeaglassUI.html" title="interface in com.seaglasslookandfeel.ui">SeaglassUI</A>&nbsp;ui)</PRE>
<DL>
<DD>A convience method that will reset the Style of StyleContext if
 necessary.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>newStyle</DL>
</DD>
</DL>
<HR>

<A NAME="initializeDefaultFont()"><!-- --></A><H3>
initializeDefaultFont</H3>
<PRE>
protected <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Font.html?is-external=true" title="class or interface in java.awt">Font</A> <B>initializeDefaultFont</B>()</PRE>
<DL>
<DD>Initialize the default font.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the default font.</DL>
</DD>
</DL>
<HR>

<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getName</B>()</PRE>
<DL>
<DD>Return a short string that identifies this look and feel. This String
 will be the unquoted String "SeaGlass".
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true#getName()" title="class or interface in javax.swing.plaf.synth">getName</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthLookAndFeel</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>a short string identifying this look and feel.</DL>
</DD>
</DL>
<HR>

<A NAME="getID()"><!-- --></A><H3>
getID</H3>
<PRE>
public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getID</B>()</PRE>
<DL>
<DD>Return a string that identifies this look and feel. This String will be
 the unquoted String "SeaGlass".
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true#getID()" title="class or interface in javax.swing.plaf.synth">getID</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthLookAndFeel</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>a short string identifying this look and feel.</DL>
</DD>
</DL>
<HR>

<A NAME="getDescription()"><!-- --></A><H3>
getDescription</H3>
<PRE>
public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getDescription</B>()</PRE>
<DL>
<DD>Returns a textual description of this look and feel.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true#getDescription()" title="class or interface in javax.swing.plaf.synth">getDescription</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthLookAndFeel</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>textual description of this look and feel.</DL>
</DD>
</DL>
<HR>

<A NAME="isNativeLookAndFeel()"><!-- --></A><H3>
isNativeLookAndFeel</H3>
<PRE>
public boolean <B>isNativeLookAndFeel</B>()</PRE>
<DL>
<DD>Returns false, SeaGlassLookAndFeel is not a native look and feel.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true#isNativeLookAndFeel()" title="class or interface in javax.swing.plaf.synth">isNativeLookAndFeel</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthLookAndFeel</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>false</DL>
</DD>
</DL>
<HR>

<A NAME="isSupportedLookAndFeel()"><!-- --></A><H3>
isSupportedLookAndFeel</H3>
<PRE>
public boolean <B>isSupportedLookAndFeel</B>()</PRE>
<DL>
<DD>Returns true, SeaGlassLookAndFeel is always supported.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true#isSupportedLookAndFeel()" title="class or interface in javax.swing.plaf.synth">isSupportedLookAndFeel</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthLookAndFeel</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>true.</DL>
</DD>
</DL>
<HR>

<A NAME="getSupportsWindowDecorations()"><!-- --></A><H3>
getSupportsWindowDecorations</H3>
<PRE>
public boolean <B>getSupportsWindowDecorations</B>()</PRE>
<DL>
<DD>Returns <code>true</code> if the <code>LookAndFeel</code> returned
 <code>RootPaneUI</code> instances support providing <code>Window</code> decorations
 in a <code>JRootPane</code>.

 <p>Sea Glass returns <code>false</code> on a Macintosh, <code>true</code>
 otherwise.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true#getSupportsWindowDecorations()" title="class or interface in javax.swing">getSupportsWindowDecorations</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/LookAndFeel.html?is-external=true" title="class or interface in javax.swing">LookAndFeel</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD><code>true</code> if the <code>RootPaneUI</code> instances created by this
         look and feel support client side decorations. This returns
         <code>true</code> on a non-Macintosh.<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/JDialog.html?is-external=true#setDefaultLookAndFeelDecorated(boolean)" title="class or interface in javax.swing"><CODE>JDialog.setDefaultLookAndFeelDecorated(boolean)</CODE></A>, 
<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/JFrame.html?is-external=true#setDefaultLookAndFeelDecorated(boolean)" title="class or interface in javax.swing"><CODE>JFrame.setDefaultLookAndFeelDecorated(boolean)</CODE></A>, 
<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/JRootPane.html?is-external=true#setWindowDecorationStyle(int)" title="class or interface in javax.swing"><CODE>JRootPane.setWindowDecorationStyle(int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getPaintingInsets(javax.swing.plaf.synth.SynthContext, java.awt.Insets)"><!-- --></A><H3>
getPaintingInsets</H3>
<PRE>
public static <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Insets.html?is-external=true" title="class or interface in java.awt">Insets</A> <B>getPaintingInsets</B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthContext.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthContext</A>&nbsp;state,
                                       <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Insets.html?is-external=true" title="class or interface in java.awt">Insets</A>&nbsp;insets)</PRE>
<DL>
<DD>A convenience method to return where the foreground should be painted for
 the Component identified by the passed in AbstractSynthContext.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>state</CODE> - the SynthContext representing the current state.<DD><CODE>insets</CODE> - an Insets object to be filled with the painting insets.
<DT><B>Returns:</B><DD>the insets object passed in and filled with the painting insets.</DL>
</DD>
</DL>
<HR>

<A NAME="isLeftToRight(java.awt.Component)"><!-- --></A><H3>
isLeftToRight</H3>
<PRE>
public static boolean <B>isLeftToRight</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Component.html?is-external=true" title="class or interface in java.awt">Component</A>&nbsp;c)</PRE>
<DL>
<DD>Convenience function for determining ComponentOrientation. Helps us avoid
 having Munge directives throughout the code.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the component.
<DT><B>Returns:</B><DD><code>true</code> if the component is laid out left-to-right,
         <code>false</code> if right-to-left.</DL>
</DD>
</DL>
<HR>

<A NAME="getUIOfType(javax.swing.plaf.ComponentUI, java.lang.Class)"><!-- --></A><H3>
getUIOfType</H3>
<PRE>
public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getUIOfType</B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/ComponentUI.html?is-external=true" title="class or interface in javax.swing.plaf">ComponentUI</A>&nbsp;ui,
                                 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;klass)</PRE>
<DL>
<DD>Returns the ui that is of type <code>klass</code>, or null if one can not
 be found.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ui</CODE> - the UI delegate to be tested.<DD><CODE>klass</CODE> - the class to test against.
<DT><B>Returns:</B><DD><code>ui</code> if <code>klass</code> is an instance of <code>ui</code>,
         <code>null</code> otherwise.</DL>
</DD>
</DL>
<HR>

<A NAME="resolveToolbarConstraint(javax.swing.JToolBar)"><!-- --></A><H3>
resolveToolbarConstraint</H3>
<PRE>
public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>resolveToolbarConstraint</B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/JToolBar.html?is-external=true" title="class or interface in javax.swing">JToolBar</A>&nbsp;toolbar)</PRE>
<DL>
<DD>Package private method which returns either BorderLayout.NORTH,
 BorderLayout.SOUTH, BorderLayout.EAST, or BorderLayout.WEST depending on
 the location of the toolbar in its parent. The toolbar might be in
 PAGE_START, PAGE_END, CENTER, or some other position, but will be
 resolved to either NORTH,SOUTH,EAST, or WEST based on where the toolbar
 actually IS, with CENTER being NORTH.

 <p/>This code is used to determine where the border line should be drawn
 by the custom toolbar states, and also used by SeaGlassIcon to determine
 whether the handle icon needs to be shifted to look correct.</p>

 <p>Toollbars are unfortunately odd in the way these things are handled,
 and so this code exists to unify the logic related to toolbars so it can
 be shared among the static files such as SeaGlassIcon and generated files
 such as the ToolBar state classes.</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>toolbar</CODE> - a toolbar in the Swing hierarchy.
<DT><B>Returns:</B><DD>the <code>BorderLayout</code> orientation of the toolbar, or
         <code>BorderLayout.NORTH</code> if none can be determined.</DL>
</DD>
</DL>
<HR>

<A NAME="register(javax.swing.plaf.synth.Region, java.lang.String)"><!-- --></A><H3>
register</H3>
<PRE>
public void <B>register</B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/Region.html?is-external=true" title="class or interface in javax.swing.plaf.synth">Region</A>&nbsp;region,
                     <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;prefix)</PRE>
<DL>
<DD>Registers the given region and prefix. The prefix, if it contains quoted
 sections, refers to certain named components. If there are not quoted
 sections, then the prefix refers to a generic component type.

 <p>If the given region/prefix combo has already been registered, then it
 will not be registered twice. The second registration attempt will fail
 silently.</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>region</CODE> - The Synth Region that is being registered. Such as Button,
               or ScrollBarThumb.<DD><CODE>prefix</CODE> - The UIDefault prefix. For example, could be ComboBox, or if
               a named components, "MyComboBox", or even something like
               ToolBar:"MyComboBox":"ComboBox.arrowButton"</DL>
</DD>
</DL>
<HR>

<A NAME="updateStyle(com.seaglasslookandfeel.SeaGlassContext, com.seaglasslookandfeel.ui.SeaglassUI)"><!-- --></A><H3>
updateStyle</H3>
<PRE>
public static <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthStyle.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthStyle</A> <B>updateStyle</B>(<A HREF="../../com/seaglasslookandfeel/SeaGlassContext.html" title="class in com.seaglasslookandfeel">SeaGlassContext</A>&nbsp;context,
                                     <A HREF="../../com/seaglasslookandfeel/ui/SeaglassUI.html" title="interface in com.seaglasslookandfeel.ui">SeaglassUI</A>&nbsp;ui)</PRE>
<DL>
<DD>A convience method that will reset the Style of StyleContext if
 necessary.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>context</CODE> - the SynthContext corresponding to the current state.<DD><CODE>ui</CODE> - the UI delegate.
<DT><B>Returns:</B><DD>the new, updated style.</DL>
</DD>
</DL>
<HR>

<A NAME="getComponentState(java.awt.Component)"><!-- --></A><H3>
getComponentState</H3>
<PRE>
public static int <B>getComponentState</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Component.html?is-external=true" title="class or interface in java.awt">Component</A>&nbsp;c)</PRE>
<DL>
<DD>Returns the component state for the specified component. This should only
 be used for Components that don't have any special state beyond that of
 ENABLED, DISABLED or FOCUSED. For example, buttons shouldn't call into
 this method.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the component.
<DT><B>Returns:</B><DD>the simple state of the component.</DL>
</DD>
</DL>
<HR>

<A NAME="update(javax.swing.plaf.synth.SynthContext, java.awt.Graphics)"><!-- --></A><H3>
update</H3>
<PRE>
public static void <B>update</B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthContext.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthContext</A>&nbsp;state,
                          <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Graphics.html?is-external=true" title="class or interface in java.awt">Graphics</A>&nbsp;g)</PRE>
<DL>
<DD>A convenience method that handles painting of the background. All SynthUI
 implementations should override update and invoke this method.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>state</CODE> - the SynthContext describing the current component and state.<DD><CODE>g</CODE> - the Graphics context to use to paint the component.</DL>
</DD>
</DL>
<HR>

<A NAME="updateSubregion(javax.swing.plaf.synth.SynthContext, java.awt.Graphics, java.awt.Rectangle)"><!-- --></A><H3>
updateSubregion</H3>
<PRE>
public static void <B>updateSubregion</B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthContext.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthContext</A>&nbsp;state,
                                   <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Graphics.html?is-external=true" title="class or interface in java.awt">Graphics</A>&nbsp;g,
                                   <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>&nbsp;bounds)</PRE>
<DL>
<DD>A convenience method that handles painting of the background for
 subregions. All SynthUI's that have subregions should invoke this method,
 than paint the foreground.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>state</CODE> - the SynthContext describing the component, region, and
               state.<DD><CODE>g</CODE> - the Graphics context used to paint the subregion.<DD><CODE>bounds</CODE> - the bounds to paint in.</DL>
</DD>
</DL>
<HR>

<A NAME="shouldUpdateStyle(java.beans.PropertyChangeEvent)"><!-- --></A><H3>
shouldUpdateStyle</H3>
<PRE>
public static boolean <B>shouldUpdateStyle</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/beans/PropertyChangeEvent.html?is-external=true" title="class or interface in java.beans">PropertyChangeEvent</A>&nbsp;event)</PRE>
<DL>
<DD>Returns true if the Style should be updated in response to the specified
 PropertyChangeEvent. This forwards to <code>
 shouldUpdateStyleOnAncestorChanged</code> as necessary.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>event</CODE> - the property change event.
<DT><B>Returns:</B><DD><code>true</code> if the style should be updated as a result of this
         property change, <code>false</code> otherwise.</DL>
</DD>
</DL>
<HR>

<A NAME="setSelectedUI(javax.swing.plaf.ComponentUI, boolean, boolean, boolean, boolean)"><!-- --></A><H3>
setSelectedUI</H3>
<PRE>
public static void <B>setSelectedUI</B>(<A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/ComponentUI.html?is-external=true" title="class or interface in javax.swing.plaf">ComponentUI</A>&nbsp;uix,
                                 boolean&nbsp;selected,
                                 boolean&nbsp;focused,
                                 boolean&nbsp;enabled,
                                 boolean&nbsp;rollover)</PRE>
<DL>
<DD>Used by the renderers. For the most part the renderers are implemented as
 Labels, which is problematic in so far as they are never selected. To
 accomodate this SeaGlassLabelUI checks if the current UI matches that of
 <code>selectedUI</code> (which this methods sets), if it does, then a
 state as set by this method is set in the field <code>selectedUIState</code>.
 This provides a way for labels to have a state other than selected.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uix</CODE> - a UI delegate.<DD><CODE>selected</CODE> - is the component selected?<DD><CODE>focused</CODE> - is the component focused?<DD><CODE>enabled</CODE> - is the component enabled?<DD><CODE>rollover</CODE> - is the component's rollover state enabled?</DL>
</DD>
</DL>
<HR>

<A NAME="resetSelectedUI()"><!-- --></A><H3>
resetSelectedUI</H3>
<PRE>
public static void <B>resetSelectedUI</B>()</PRE>
<DL>
<DD>Clears out the selected UI that was last set in setSelectedUI.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="shouldUpdateStyleOnAncestorChanged()"><!-- --></A><H3>
shouldUpdateStyleOnAncestorChanged</H3>
<PRE>
public boolean <B>shouldUpdateStyleOnAncestorChanged</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true#shouldUpdateStyleOnAncestorChanged()" title="class or interface in javax.swing.plaf.synth">shouldUpdateStyleOnAncestorChanged</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/SynthLookAndFeel.html?is-external=true" title="class or interface in javax.swing.plaf.synth">SynthLookAndFeel</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>true</DL>
</DD>
</DL>
<HR>

<A NAME="getDerivedColor(java.lang.String, float, float, float, int, boolean)"><!-- --></A><H3>
getDerivedColor</H3>
<PRE>
public com.seaglasslookandfeel.DerivedColor <B>getDerivedColor</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;parentUin,
                                                            float&nbsp;hOffset,
                                                            float&nbsp;sOffset,
                                                            float&nbsp;bOffset,
                                                            int&nbsp;aOffset,
                                                            boolean&nbsp;uiResource)</PRE>
<DL>
<DD>Get a derived color, derived colors are shared instances and will be
 updated when its parent UIDefault color changes.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uiDefaultParentName</CODE> - The parent UIDefault key<DD><CODE>hOffset</CODE> - The hue offset<DD><CODE>sOffset</CODE> - The saturation offset<DD><CODE>bOffset</CODE> - The brightness offset<DD><CODE>aOffset</CODE> - The alpha offset<DD><CODE>uiResource</CODE> - True if the derived color should be a UIResource,
        false if it should not be a UIResource
<DT><B>Returns:</B><DD>The stored derived color</DL>
</DD>
</DL>
<HR>

<A NAME="getDerivedColor(java.awt.Color, java.awt.Color, float, boolean)"><!-- --></A><H3>
getDerivedColor</H3>
<PRE>
protected final <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A> <B>getDerivedColor</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;color1,
                                      <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;color2,
                                      float&nbsp;midPoint,
                                      boolean&nbsp;uiResource)</PRE>
<DL>
<DD>Decodes and returns a color, which is derived from an offset between two
 other colors.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>color1</CODE> - The first color<DD><CODE>color2</CODE> - The second color<DD><CODE>midPoint</CODE> - The offset between color 1 and color 2, a value of 0.0 is
                 color 1 and 1.0 is color 2;<DD><CODE>uiResource</CODE> - True if the derived color should be a UIResource
<DT><B>Returns:</B><DD>The derived color</DL>
</DD>
</DL>
<HR>

<A NAME="getDerivedColor(java.awt.Color, java.awt.Color, float)"><!-- --></A><H3>
getDerivedColor</H3>
<PRE>
protected final <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A> <B>getDerivedColor</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;color1,
                                      <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;color2,
                                      float&nbsp;midPoint)</PRE>
<DL>
<DD>Decodes and returns a color, which is derived from a offset between two
 other colors.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>color1</CODE> - The first color<DD><CODE>color2</CODE> - The second color<DD><CODE>midPoint</CODE> - The offset between color 1 and color 2, a value of 0.0 is
                 color 1 and 1.0 is color 2;
<DT><B>Returns:</B><DD>The derived color, which will be a UIResource</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SeaGlassLookAndFeel.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../com/seaglasslookandfeel/SeaGlassContext.html" title="class in com.seaglasslookandfeel"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../com/seaglasslookandfeel/SeaGlassRegion.html" title="class in com.seaglasslookandfeel"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html?com/seaglasslookandfeel/SeaGlassLookAndFeel.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="SeaGlassLookAndFeel.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
Copyright &#169; 2009-2012 <a href="http://seaglasslookandfeel.com">seaglasslookandfeel.com</a>. All Rights Reserved.
</BODY>
</HTML>
